package com.eastjet.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eastjet.maintenance.domain.DeviceRules;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 杨博文
* @description 针对表【device_rules(编码规则表)】的数据库操作Mapper
* @createDate 2024-11-25 09:23:38
* @Entity com.eastjet.pojo.domain.DeviceRules
*/
@Mapper
public interface DeviceRulesMapper extends BaseMapper<DeviceRules> {
    public List<DeviceRules> getDeviceRulesByTableName(String TableName) ;
    String getLastCode(@Param("TableName") String tableName);

    List<DeviceRules> selectByCondition(@Param("condition") String condition);
    public int updateDeviceRules(DeviceRules deviceRules);
}




